Ionic angular include confusion?


Initially I included just js/ionic.js and js/ionic-angular.js as per which has

<link href="/vendor/font-awesome/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="/ionic/css/ionic.css">
<script src="/ionic/js/ionic.js"></script>
<script src="/ionic/js/ionic-angular.js"></script>

For one, doesn’t exist, but I wasn’t sure why in this case angular is included automatically, whereas in the HTML manually includes all of angular, including angular/{angular, angular-animate, angular-route} and so on.


I noticed that too… confusing indeed.


We are going to update the examples this week. A lot changed over the last two weeks and those ones kind of got stale. You should be including angular manually. We decided to do that since we had lots of requests to keep the angular includes separate.