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:
Vojta Jina 2012-07-30 21:21:34 -07:00 committed by Igor Minar
parent eef2f9c31e
commit bf77e212af

View file

@ -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>