{"action":"created","issue":{"url":"https://api.github.com/repos/gauravgango/gaurav-angular-indexeddb/issues/18","repository_url":"https://api.github.com/repos/gauravgango/gaurav-angular-indexeddb","labels_url":"https://api.github.com/repos/gauravgango/gaurav-angular-indexeddb/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/gauravgango/gaurav-angular-indexeddb/issues/18/comments","events_url":"https://api.github.com/repos/gauravgango/gaurav-angular-indexeddb/issues/18/events","html_url":"https://github.com/gauravgango/gaurav-angular-indexeddb/issues/18","id":145950864,"number":18,"title":"while I call indexeddb service ,got a exception typeError: e is not a function","user":{"login":"jimmyyao88","id":7344857,"avatar_url":"https://avatars.githubusercontent.com/u/7344857?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyyao88","html_url":"https://github.com/jimmyyao88","followers_url":"https://api.github.com/users/jimmyyao88/followers","following_url":"https://api.github.com/users/jimmyyao88/following{/other_user}","gists_url":"https://api.github.com/users/jimmyyao88/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyyao88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyyao88/subscriptions","organizations_url":"https://api.github.com/users/jimmyyao88/orgs","repos_url":"https://api.github.com/users/jimmyyao88/repos","events_url":"https://api.github.com/users/jimmyyao88/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyyao88/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-05T10:37:22Z","updated_at":"2016-04-05T15:58:11Z","closed_at":null,"body":"mycode:\r\n\r\n\r\n```\r\nangular.module('app',['indexed-db'])\r\n.config(function(indexeddbProvider){\r\n              indexeddbProvider.setDbName('test'); // your database name\r\n        indexeddbProvider.setDbVersion(1); // your database version\r\n\t\t\r\n\t\t    var tables = [{\r\n\t\t\t   name : 'users',\r\n\t\t\t   fields : [\r\n       \t\t\t\t{\r\n\t\t\t\t\t\tname : '_id', //setting the name of keyPath\r\n           \t\t\tkeyPath : true //setting this field as keyPath\t\r\n\t\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t   name : 'email' //adding an index \r\n\t\t\t\t   \t}\r\n\t\t\t\t]\r\n\t\t   }];\r\n\t\t   \r\n\t\t indexeddbProvider.setDbTables(tables);\r\n    })\r\n.controller\r\n('myCtrl',function($scope,indexeddb){\r\n});\r\n\r\n```\r\nwhile I call indexeddb service ,got a exception typeError: e is not a function.\r\nif I remove the service indexeddb ,the error disappeared."},"comment":{"url":"https://api.github.com/repos/gauravgango/gaurav-angular-indexeddb/issues/comments/205869375","html_url":"https://github.com/gauravgango/gaurav-angular-indexeddb/issues/18#issuecomment-205869375","issue_url":"https://api.github.com/repos/gauravgango/gaurav-angular-indexeddb/issues/18","id":205869375,"user":{"login":"jimmyyao88","id":7344857,"avatar_url":"https://avatars.githubusercontent.com/u/7344857?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmyyao88","html_url":"https://github.com/jimmyyao88","followers_url":"https://api.github.com/users/jimmyyao88/followers","following_url":"https://api.github.com/users/jimmyyao88/following{/other_user}","gists_url":"https://api.github.com/users/jimmyyao88/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmyyao88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmyyao88/subscriptions","organizations_url":"https://api.github.com/users/jimmyyao88/orgs","repos_url":"https://api.github.com/users/jimmyyao88/repos","events_url":"https://api.github.com/users/jimmyyao88/events{/privacy}","received_events_url":"https://api.github.com/users/jimmyyao88/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T15:58:11Z","updated_at":"2016-04-05T15:58:11Z","body":"@maxgaurav HI,max,appericate your reply very much.I didn't install from bower ,just download the zip file ,and add the dependency :angular-indexeddb.min.js which located in 'dist' directory ."}}