Can you anyone help me and give some idea to write any simple controller and service in custom smartedit extion?
below i am pasting code which i written. import * as angular from 'angular';
const mwcmssmarteditModule = angular.module('mwcmssmarteditModule', ['editorFieldMappingServiceModule', 'mwcmssmartedit/cmssmarteditContainerTemplates']) .controller('mwcursorPositionCtrl', function($scope) { $scope.message = 'welcome'; }) }); and there is one html template below cumtomTemplate.html file and inside printing only this {{message}} and it is printing as it is only but nothig is happing . i am not sure it is angular.js library is calling or not .