1

I'm new in angular so i have a many questions

For Ionic v1 I installed angular-moment-picker bower install moment-picker --save, there is a directory bower_components with angular-moment-picker, I added 'moment-picker' in angular.module('starter', ['ionic','starter.controllers', 'starter.services', 'ionic-material', 'ui.router', 'moment-picker']) RESULT: capture d ecran 2017-05-05 a 19 26 14

What am I doing wrong? Why I have a errors? Thank you all

4

1 回答 1

0

我解决了这个问题。设置 .bowerrc { "directory": "www/lib" },安装bower install moment-picker --save并添加lib/angular-moment-picker/dist/angular-moment-picker.js到 index.html

于 2017-05-10T09:20:22.880 回答