removing display:none + ng:show from index.html

the best practice is not to use angular markup in index.html so
the hide/show thing is not needed.

instead of <div>{{foo}}</div> use <div ng:bind="foo"></div> in
index.html. In other templates it is totally fine to use markup.
This commit is contained in:
Igor Minar 2011-04-01 13:48:39 -07:00
parent d671a5519b
commit bd00b9a967

View File

@ -5,7 +5,7 @@
<title>my angular app</title>
<link rel="stylesheet" href="css/app.css"/>
</head>
<body style="display:none" ng:show="true">
<body>
<ul class="menu">
<li><a href="#/view1">view1</a></li>
<li><a href="#/view2">view2</a></li>