Angular:
http://angularjs.org/
by Adrien Be
HTML
<div ng-controller="MyCtrl">
{{ isStarted }}
</div>
JavaScript
var app = angular.module('myApp', []);
app.directive('myDirective', function () {
return {
link: function (scope, element, attrs) {},
}
});
//app.factory('myService', function() {});
function MyCtrl($scope) {
$scope.isStarted = "Project initializing...";
var init = function () {
$scope.isStarted = $scope.isStarted + "Project now initialized";
}
init();
}