JS
var app = angular.module('CompanyProfile', []);
app.controller('CompanyProfileCtrl', function() {
function init() {
var editor = grapesjs.init({
allowScripts: 1,
showOffsets: 1,
autorender: 0,
noticeOnUnload: 0,
container: "#gjs",
height: "700px",
fromElement: true,
clearOnRender: 0,
storageManager: {
autoload: 0
},
HOW can i make this possible? BTW i did not submit the whole code. Assume that is all there. Will is work?