Re: [angular.js] directives DI issue : Error: Unknown provider: $deferProvider <- $defer <- myCurrentTimeDirective

2,171 views
Skip to first unread message

Pawel Kozlowski

unread,
Jul 18, 2012, 10:27:11 AM7/18/12
to ang...@googlegroups.com
hi!

On Wed, Jul 18, 2012 at 4:17 PM, Olivier Louvignes <olouv...@gmail.com> wrote:
> I just tried to reproduce the example from the docs :
> http://docs.angularjs.org/guide/directive
> And it looks like somehow the API may have changed for writing directives

It is not the API for directives, it is that $defer was renamed to
$timeout, see: http://docs.angularjs.org/api/ng.$timeout

Hope this helps,
Pawel
Reply all
Reply to author
Forward
0 new messages