title: Zingchart is not defined error
body: <p>I'm working with the mean.io starter project and I am trying to get a chart to display using zingchart.<br>
  When I inspect my code, I see a zingchart not defined error that looks like this.</p>
  
  <p><a href="https://i.stack.imgur.com/zqlqj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zqlqj.png" alt="enter image description here"></a></p>
  
  <p>I am new to using mean.io.<br>
  I should also mention that this is taking place in a new package that I created called "dashboard"</p>
  
  <p>Here is my controller (dashboard.js):</p>
  
  <pre><code>(function() {
    'use strict';
  
    /* jshint -W098 */
  
    angular
      .module('mean.dashboard', ['zingchart-angularjs'])
      .controller('DashboardController', function($scope) {
        $scope.myJson = {
      type : 'line',
      series : [
        { values : [54,23,34,23,43] },
        { values : [10,15,16,20,40] }
        ]
  };
  
  });
  })();
  </code></pre>
  
  <p>My html file (index.html):</p>
  
  <pre><code>&lt;html ng-app="mean.dashboard" ng-init="checkCircle()"&gt;
  &lt;script type="text/javascript" src="angular.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="zingchart.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="zingchart-angularjs.js"&gt;&lt;/script&gt;
  &lt;script src="dashboard.js"&gt;&lt;/script&gt;
  
  &lt;body ng-controller="DashboardController" ng-cloak layout="column"&gt;
  
      &lt;!-- graph here --&gt;
      &lt;h1&gt;Graph Test&lt;/h1&gt;
      &lt;div ng-controller="DashboardController"&gt;
      &lt;div zingchart id="myChart" zc-json="myJson" zc-height=500 zc-width=600&gt;&lt;/div&gt;
    &lt;/div&gt;
    &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>My app.js file:</p>
  
  <pre><code>'use strict';
  
  /*
   * Defining the Package
   */
  var Module = require('meanio').Module;
  
  var Dashboard = new Module('dashboard', ['zingchart-angularjs']);
  
  /*
   * All MEAN packages require registration
   * Dependency injection is used to define required modules
   */
  
  Dashboard.register(function(app, auth, database, circles) {
  
    //We enable routing. By default the Package Object is passed to the routes
    Dashboard.routes(app, auth, database, circles);
  
    //We are adding a link to the main menu for all authenticated users
    Dashboard.menus.add({
      title: 'dashboard',
      link: 'dashboard',
      roles: ['authenticated'],
      menu: 'main'
    });
  
    Dashboard.angularDependencies(['zingchart-angularjs']);
  
    return Dashboard;
    });
  </code></pre>