angularjs - after minification of angular js project code , this jquery plugin is not working as it done in general use -
its not working css working. placed 2 fields in form startdate , enddate , applied validations required , date comparisions form validation. not working after controllers minification. thought?
http://xdsoft.net/jqplugins/datetimepicker/
you said using angularjs. dependency injection angularjs breaks when minify if don't name function arguments.
did utilize injection following?
app.controller('myctrl', function($dep1, $dep2) { .. });
when minifying should do
app.controller('myctrl', ['$dep1', '$dep2', function($dep1, $dep2) { ... }]);
for minified script work. don't know if it's related though.
jquery angularjs datetimepicker
No comments:
Post a Comment