Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function () {
- //Boostrap each scheduler
- $(".my-widget").each(function (index) {
- var appName = 'myApp' + index;
- var myApp = angular.module(appName, ['ngSanitize', 'kendo.directives']);
- myApp.controller("myController", myController);
- angular.bootstrap($(this).get(0), [appName]);
- });
- });
- function myController($scope, $element) {
- $scope.message = "I work";
- }
Add Comment
Please, Sign In to add comment