fix form directive name
This commit is contained in:
parent
68f3f7a3bd
commit
c1fd8e47fb
|
@ -1,6 +1,6 @@
|
||||||
import { ValidationService } from '../services/validation.service';
|
import { ValidationService } from '../services/validation.service';
|
||||||
|
|
||||||
export function FormDirective($rootScope: ng.IRootScopeService, validationService: ValidationService) {
|
export function BitFormDirective($rootScope: ng.IRootScopeService, validationService: ValidationService) {
|
||||||
return {
|
return {
|
||||||
require: 'form',
|
require: 'form',
|
||||||
restrict: 'A',
|
restrict: 'A',
|
|
@ -1,7 +1,7 @@
|
||||||
import * as angular from 'angular';
|
import * as angular from 'angular';
|
||||||
|
|
||||||
|
import { BitFormDirective } from './bit-form.directive';
|
||||||
import { FallbackSrcDirective } from './fallback-src.directive';
|
import { FallbackSrcDirective } from './fallback-src.directive';
|
||||||
import { FormDirective } from './form.directive';
|
|
||||||
import { StopClickDirective } from './stop-click.directive';
|
import { StopClickDirective } from './stop-click.directive';
|
||||||
import { StopPropDirective } from './stop-prop.directive';
|
import { StopPropDirective } from './stop-prop.directive';
|
||||||
|
|
||||||
|
@ -11,6 +11,6 @@ export default angular
|
||||||
.directive('fallbackSrc', FallbackSrcDirective)
|
.directive('fallbackSrc', FallbackSrcDirective)
|
||||||
.directive('stopClick', StopClickDirective)
|
.directive('stopClick', StopClickDirective)
|
||||||
.directive('stopProp', StopPropDirective)
|
.directive('stopProp', StopPropDirective)
|
||||||
.directive('form', FormDirective)
|
.directive('bitForm', BitFormDirective)
|
||||||
|
|
||||||
.name;
|
.name;
|
||||||
|
|
Loading…
Reference in New Issue