AngularJS angular-seed starter project adding directives

后端 未结 2 573
名媛妹妹
名媛妹妹 2021-01-27 08:27

I am trying to use the angular-seed project (https://github.com/angular/angular-seed) to start a new project. I am trying to add in a new directive.

Created testDirectiv

2条回答
  •  花落未央
    2021-01-27 08:56

    When including attribute directives inside the opening tag of an HTML element, they must be converted to dashes.

提交回复
热议问题