<!DOCTYPE html> <html ng_app ="mymodule"> <head> <script src="scripts/angular.min.js"></script> <script src="scripts/ssript.js"></script> <title></title> </head> <body> <div ng-controller ="mycontroller" > </div> </body> </html>
/// <reference path="angular.min.js" /> var app = angular.module("mymodule", []) app.controller("mycontroller", function ($scope) { $scope.message ="hello!!" });
ng-app
ng_app
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)