I have an app.js file where I specify my dependencies:
angular.module("myApp", ['angular-jwt', 'chart.js']).config(...)
I want an external file for directives, so in directives.js I write:
angular.module('myApp').directive(...)
same thing for the controller.js:
angular.module('myApp').controller('pokerstrazzkCtrl', function($scope, $http, jwtHelper) { ...
and this is the include script order in the html file:
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>
<script src="https://cdn.rawgit.com/auth0/angular-jwt/master/dist/angular-jwt.js"></script>
<script src="Chart.min.js"></script>
<script src="angular-chart.js"></script>
<script src="controller.js"></script>
<script src="directives.js"></script>
<script src="app.js"></script>
when displaying in the browsers I get no console errors and source code of the page is exactly what it should but I only see the background, no text or other elements. What am I doing wrong?