{"action":"created","issue":{"url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/88","labels_url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/88/comments","events_url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/88/events","html_url":"https://github.com/assisrafael/angular-input-masks/issues/88","id":87429930,"number":88,"title":"Uncaught TypeError: object is not a function","user":{"login":"rafaelzomer","id":4229422,"avatar_url":"https://avatars.githubusercontent.com/u/4229422?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelzomer","html_url":"https://github.com/rafaelzomer","followers_url":"https://api.github.com/users/rafaelzomer/followers","following_url":"https://api.github.com/users/rafaelzomer/following{/other_user}","gists_url":"https://api.github.com/users/rafaelzomer/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelzomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelzomer/subscriptions","organizations_url":"https://api.github.com/users/rafaelzomer/orgs","repos_url":"https://api.github.com/users/rafaelzomer/repos","events_url":"https://api.github.com/users/rafaelzomer/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelzomer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T17:53:53Z","updated_at":"2015-06-11T18:37:53Z","closed_at":null,"body":"When i try to include the lib in my project like described in the README.md\r\n\r\n`1. Import the releases/angular-input-masks-standalone.min.js script in your page.`\r\n`2. Include the module ui.utils.masks in your angular app.`\r\n`3. Include the ui-mask directive in a text field like the examples abouve`\r\n\r\nI recieve the following error: (Google Chrome)\r\n`Uncaught TypeError: object is not a function`\r\nat this line\r\n`var cnpjPattern = new StringMask('00.000.000\\/0000-00');`\r\n\r\nI tried another ways, like including 'angular-input-masks' and 'angular-input-masks-dependencies' but nothing worked. I recieve the same error everytime. I am using require.js to include the files.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/21549129-uncaught-typeerror-object-is-not-a-function?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/comments/111234970","html_url":"https://github.com/assisrafael/angular-input-masks/issues/88#issuecomment-111234970","issue_url":"https://api.github.com/repos/assisrafael/angular-input-masks/issues/88","id":111234970,"user":{"login":"assisrafael","id":1799825,"avatar_url":"https://avatars.githubusercontent.com/u/1799825?v=3","gravatar_id":"","url":"https://api.github.com/users/assisrafael","html_url":"https://github.com/assisrafael","followers_url":"https://api.github.com/users/assisrafael/followers","following_url":"https://api.github.com/users/assisrafael/following{/other_user}","gists_url":"https://api.github.com/users/assisrafael/gists{/gist_id}","starred_url":"https://api.github.com/users/assisrafael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/assisrafael/subscriptions","organizations_url":"https://api.github.com/users/assisrafael/orgs","repos_url":"https://api.github.com/users/assisrafael/repos","events_url":"https://api.github.com/users/assisrafael/events{/privacy}","received_events_url":"https://api.github.com/users/assisrafael/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T18:37:53Z","updated_at":"2015-06-11T18:37:53Z","body":"It's browserify's require. Check if there is some procedure to achieve interoperability between them."}}