Я создал директиву с именем ng-chart как: (function () {
'use strict';
angular
.module('app')
.directive('ngChart', ['$http', '$compile', 'DashboardService', '$q', '$timeout', '$modal', 'FlashService', function ($http, $compile, DashboardService, $q, $timeout, $modal, FlashService) {
...
25 сен. 2015, в 10:33