Currently I add my controllers in index.html
with just a normal script
tag like so
<script src="js/controllers/admin/languages.js"></script>
I was wondering if it's possible to to tell the state that I want to include this script so that I don't have to add all my controller script in the index.
.state('admin.languages', {
url: '/languages',
templateUrl: 'views/admin/languages.html'
})
This is what my state looks like now.
Thank you.