File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 88 < link rel ="stylesheet " href ="bower_components/bootstrap/dist/css/bootstrap.css " />
99 < link rel ="stylesheet " href ="styles/styles.css "/>
1010</ head >
11- < body >
11+ < body ng-app =" angularFromScratch " ng-controller =" Principal as principal " >
1212 < div class ="container ">
1313 < div class ="row ">
1414 < div class ="col-xs-12 ">
15- < h1 > Angular From Scratch </ h1 >
15+ < h1 > {{principal.tituloApp}} </ h1 >
1616 </ div >
1717 </ div >
1818 < div class ="row ">
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+ var app = angular . module ( 'angularFromScratch' , [ ] ) ;
3+
4+ app . controller ( 'Principal' , [ '$scope' , function ( $scope ) {
5+ this . tituloApp = 'Hola AngularJS' ;
6+ } ] ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " angularfromstrach" ,
3- "version" : " 0.0.2 " ,
3+ "version" : " 0.1.0 " ,
44 "dependencies" : {
55 "respond" : " ~1.4.2" ,
66 "es5-shim" : " ~4.0.5" ,
You can’t perform that action at this time.
0 commit comments