use $templateCache into submit-form controller
This commit is contained in:
parent
42e9b7564e
commit
3694cab7bb
|
@ -1,9 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('forms').directive('submitFormDirective', ['$http', 'TimeCounter', '$filter', '$rootScope', 'Auth',
|
||||
function ($http, TimeCounter, $filter, $rootScope, Auth) {
|
||||
angular.module('forms').directive('submitFormDirective', ['$http', 'TimeCounter', '$filter', '$rootScope', 'Auth', '$templateCache',
|
||||
function ($http, TimeCounter, $filter, $rootScope, Auth, $templateCache) {
|
||||
return {
|
||||
templateUrl: 'modules/forms/views/directiveViews/form/submit-form.client.view.html',
|
||||
template: $templateCache.get('modules/forms/views/directiveViews/form/submit-form.client.view.html'),
|
||||
restrict: 'E',
|
||||
scope: {
|
||||
myform:'='
|
||||
|
|
Loading…
Reference in a new issue