Closed adiman9 closed 8 years ago
Thank you!
I notice right now that $timeout is not accessible in the link method because it is not assigned to a property of the object. If you have time it would be nice if you could add this. :)
Was literally about to post that this.$timeout = $timeout;
needs adding in the constructor and then this.$timeout(...)
inside link() {...}
:)
Yes! I had missed that. I will add and update now
Done. Is there anything else I have missed?
Don't think so, if you have 30seconds to paste the same code inside the translated files (i18n
folder) that'd be amazing! :)
Sure. Will do now
done
Perfect, thanks so much for the help :)!
I spotted that the constructor in the Class for the autofocus directive was missing the injected $timeout. See the below image for context.
I went ahead and made the change.