This repository has been archived on 2020-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
sp4ke.github.com/app/index.html
Igor Minar bd00b9a967 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.
2011-04-01 13:49:45 -07:00

23 lines
557 B
HTML

<!doctype html>
<html xmlns:ng="http://angularjs.org/">
<head>
<meta charset="utf-8">
<title>my angular app</title>
<link rel="stylesheet" href="css/app.css"/>
</head>
<body>
<ul class="menu">
<li><a href="#/view1">view1</a></li>
<li><a href="#/view2">view2</a></li>
</ul>
<ng:view></ng:view>
<script src="lib/angular/angular.js" ng:autobind></script>
<script src="js/services.js"></script>
<script src="js/controllers.js"></script>
<script src="js/filters.js"></script>
<script src="js/widgets.js"></script>
</body>
</html>