use $templateCache into submit-form controller
This commit is contained in:
parent
706abceffc
commit
113cfddfb8
|
@ -1,9 +1,9 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('forms').directive('submitFormDirective', ['$http', 'TimeCounter', '$filter', '$rootScope', 'Auth',
|
angular.module('forms').directive('submitFormDirective', ['$http', 'TimeCounter', '$filter', '$rootScope', 'Auth', '$templateCache',
|
||||||
function ($http, TimeCounter, $filter, $rootScope, Auth) {
|
function ($http, TimeCounter, $filter, $rootScope, Auth, $templateCache) {
|
||||||
return {
|
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',
|
restrict: 'E',
|
||||||
scope: {
|
scope: {
|
||||||
myform:'='
|
myform:'='
|
||||||
|
|
Loading…
Reference in a new issue