Last active
January 31, 2018 15:13
-
-
Save sitefinitysteve/bd3d09a5c082e1c40c914533b5866d5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(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"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment