Compare Page Revisions
« Older Revision - Back to Page History - Newer Revision »
/Scripts/MyAngularApp
app.js
var myAngularApp = angular.module("myAngularApp", ["ngResource"]);
/Views/Shared/_Layout.cshtml
ng-app
html
angular.min.js
@{ Layout = null; } <html ng-app="myAngularApp"> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script> <script src="/Scripts/MyAngularApp/app.js"></script> @RenderSection("head", required: false) </head> <body> <h1>My Angular App</h1> @RenderBody() </body> </html>
/Home/Index
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.