Closed gilsmdt closed 9 years ago
Check the dist folder.
On Jun 2, 2015, at 01:34, gilsmdt notifications@github.com wrote:
Hi,
Can you please update the code to be DI compatible? You need to prefix the directive definition like so .directive('placeholder',['$timeout', '$document', '$interpolate', '$injector', 'placeholderSniffer', function($timeout, $document, $interpolate, $injector, placeholderSniffer) {
don't foget to add the ] at the end of the function :)
— Reply to this email directly or view it on GitHub.
Here's a little more detail, for the people of the future. The source (lib/
) uses the "implicit annotation" style, and then during the build process, ngmin transforms this into the minification-safe "inline array annotation" style that you've requested, and saves the result in the dist/
folder.
Hi,
Can you please update the code to be DI compatible? You need to prefix the directive definition like so .directive('placeholder',['$timeout', '$document', '$interpolate', '$injector', 'placeholderSniffer', function($timeout, $document, $interpolate, $injector, placeholderSniffer) {
don't foget to add the ] at the end of the function :)