Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尽管我没有在该文件之外的某个地方找到 authDemoApplication,但以下代码正在工作,不在 *.js 中,也不在 .html 文件中。
angular.module('angular-auth-demo', ['http-auth-interceptor','content-mocks']) .directive('authDemoApplication', function() { });
那么,这个指令是如何工作的,在哪里可以了解这种调用方法呢?
指令以 camelCase 命名,但使用连字符分隔的名称引用。您是否搜索过<div auth-demo-application>类型语法?
<div auth-demo-application>