title: how to resolve file in angular directive?
body: <p>With angular stats we can load file like this:</p>
  
  <pre><code>    .state('app.dashboard.v1', {
          url: '/v1',
          templateUrl: 'views/index.html',
          data: { pageTitle: 'Dashboard v1' },
          resolve: {
              service: ['$ocLazyLoad', function($ocLazyLoad) {
                  return $ocLazyLoad.load({
                      serie: true,
                      files: [
                          'assets/plugins/jquery-jvectormap/jquery-jvectormap-1.2.2.css',
                          'assets/plugins/bootstrap-datepicker/css/datepicker.css',
                          'assets/plugins/bootstrap-datepicker/css/datepicker3.css',
                           ...
                          'assets/plugins/jquery-jvectormap/jquery-jvectormap-1.2.2.min.js',
                          'assets/plugins/jquery-jvectormap/jquery-jvectormap-world-mill-en.js',
                          'assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js'
                      ] 
                  });
              }]
          }
      })
  </code></pre>
  
  <p>what if I'm using directive? how to make the similar approach?</p>
  
  <pre><code>app.directive('myAdminDashboardDirective', function() {
      return {
          templateUrl: 'Views/MyAccount/my_admin_dashboard.tpl.html'
          // such as: files: [...] (?)
      }
  });
  </code></pre>