require angularjs directive using couchpotato

本秂侑毒 提交于 2019-12-11 10:24:54

问题


I'm trying to split my directives from being all in one file to dynamically calling directives when I need them. To do this I'm using couchpotato which can be found here: LINK

I took a look at the example from the sample project found here but my attempt does not seem to work. No errors are reported either.

This is my PLUNKR trying to use two directives one which just alerts a message and the other which just adds css to the element.

来源:https://stackoverflow.com/questions/17514812/require-angularjs-directive-using-couchpotato

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!