{"action":"closed","issue":{"url":"https://api.github.com/repos/huei90/angular-validation/issues/187","labels_url":"https://api.github.com/repos/huei90/angular-validation/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/huei90/angular-validation/issues/187/comments","events_url":"https://api.github.com/repos/huei90/angular-validation/issues/187/events","html_url":"https://github.com/huei90/angular-validation/issues/187","id":128352655,"number":187,"title":"Unknown provider: $validationProvider","user":{"login":"shlomogoldstein","id":5814588,"avatar_url":"https://avatars.githubusercontent.com/u/5814588?v=3","gravatar_id":"","url":"https://api.github.com/users/shlomogoldstein","html_url":"https://github.com/shlomogoldstein","followers_url":"https://api.github.com/users/shlomogoldstein/followers","following_url":"https://api.github.com/users/shlomogoldstein/following{/other_user}","gists_url":"https://api.github.com/users/shlomogoldstein/gists{/gist_id}","starred_url":"https://api.github.com/users/shlomogoldstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlomogoldstein/subscriptions","organizations_url":"https://api.github.com/users/shlomogoldstein/orgs","repos_url":"https://api.github.com/users/shlomogoldstein/repos","events_url":"https://api.github.com/users/shlomogoldstein/events{/privacy}","received_events_url":"https://api.github.com/users/shlomogoldstein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/huei90/angular-validation/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-23T21:05:40Z","updated_at":"2016-01-26T07:48:54Z","closed_at":"2016-01-26T07:48:54Z","body":"Include them:\r\n\r\n```\r\n<script src=\"lib/angular-validation/dist/angular-validation.min.js\"></script>\r\n   <script src=\"lib/angular-validation/dist/angular-validation-rule.min.js\"></script>\r\n```\r\n\r\nRequire them:\r\n\r\n```\r\n'validation',\r\n'validation.rule'\r\n```\r\n\r\n\r\n```\r\nUncaught Error: [$injector:modulerr] Failed to instantiate module app due to:\r\nError: [$injector:modulerr] Failed to instantiate module vendor due to:\r\nError: [$injector:modulerr] Failed to instantiate module validation.rule due to:\r\nError: [$injector:unpr] Unknown provider: $validationProvider\r\nhttp://errors.angularjs.org/1.3.13/$injector/unpr?p0=%24validationProvider\r\n    at http://localhost:8100/lib/ionic/js/ionic.bundle.js:8762:12\r\n    at http://localhost:8100/lib/ionic/js/ionic.bundle.js:12696:19\r\n    at getService (http://localhost:8100/lib/ionic/js/ionic.bundle.js:12843:39)\r\n    at Object.invoke (http://localhost:8100/lib/ionic/js/ionic.bundle.js:12875:13)\r\n    at runInvokeQueue (http://localhost:8100/lib/ionic/js/ionic.bundle.js:12790:35)\r\n    at http://localhost:8100/lib/ionic/js/ionic.bundle.js:12799:11\r\n    at forEach (http://localhost:8100/lib/ionic/js/ionic.bundle.js:9022:20)\r\n    at loadModules (http://localhost:8100/lib/ionic/js/ionic.bundle.js:12780:5)\r\n    at http://localhost:8100/lib/ionic/js/ionic.bundle.js:12797:40\r\n    at forEach (http://localhost:8100/lib/ionic/js/ionic.bundle.js:9022:20)\r\nhttp://errors.angularjs.org/1.3.13/$injector/modulerr?p0=validation.rule&p1=Error%3A%20%5BNaNnjector%3Aunpr%5D%20Unknown%20provider%3A%20%24validationProvider%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.3.13%2FNaNnjector%2Funpr%3Fp0%3D%2524validationProvider%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A8762%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A12696%3A19%0A%20%20%20%20at%20getService%20(http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A12843%3A39)%0A%20%20%20%20at%Object.invoke%20(http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A12875%3A13)%0A%20%20%20%20at%20runInvokeQueue%20(http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A12790%3A35)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A12799%3A11%0A%20%20%20%20at%forEach%20(http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A9022%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A12780%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A12797%3A40%0A%20%20%20%20at%forEach%20(http%3A%2F%2Flocalhost%3A8100%2Flib%2Fionic%2Fjs%2Fionic.bundle.js%3A9022%3A20)\r\n```\r\n\r\n\r\n\r\nWhen I remove  validation.rule, it works. What is the problem?\r\n\r\n```\r\n'validation',\r\n// 'validation.rule'\r\n```"}}