mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-09 23:34:42 +00:00
docs(guide): hide scenario for directive example
scenario test for this example would be tricky, we need to teach the runner how to inject mocks first.
This commit is contained in:
parent
eef2f9c31e
commit
bf77e212af
1 changed files with 1 additions and 3 deletions
|
|
@ -216,12 +216,10 @@ In this example we will build a directive which displays the current time.
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div ng-controller="Ctrl2">
|
<div ng-controller="Ctrl2">
|
||||||
Date format: <input ng-model='format'> <hr/>
|
Date format: <input ng-model="format"> <hr/>
|
||||||
Current time is: <span my-current-time="format"></span>
|
Current time is: <span my-current-time="format"></span>
|
||||||
</div>
|
</div>
|
||||||
</doc:source>
|
</doc:source>
|
||||||
<doc:scenario>
|
|
||||||
</doc:scenario>
|
|
||||||
</doc:example>
|
</doc:example>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue