{"action":"created","issue":{"url":"https://api.github.com/repos/JustMaier/angular-autoFields-bootstrap/issues/40","labels_url":"https://api.github.com/repos/JustMaier/angular-autoFields-bootstrap/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/JustMaier/angular-autoFields-bootstrap/issues/40/comments","events_url":"https://api.github.com/repos/JustMaier/angular-autoFields-bootstrap/issues/40/events","html_url":"https://github.com/JustMaier/angular-autoFields-bootstrap/issues/40","id":84617652,"number":40,"title":"failed to instantiate?","user":{"login":"Lighiche","id":7663736,"avatar_url":"https://avatars.githubusercontent.com/u/7663736?v=3","gravatar_id":"","url":"https://api.github.com/users/Lighiche","html_url":"https://github.com/Lighiche","followers_url":"https://api.github.com/users/Lighiche/followers","following_url":"https://api.github.com/users/Lighiche/following{/other_user}","gists_url":"https://api.github.com/users/Lighiche/gists{/gist_id}","starred_url":"https://api.github.com/users/Lighiche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lighiche/subscriptions","organizations_url":"https://api.github.com/users/Lighiche/orgs","repos_url":"https://api.github.com/users/Lighiche/repos","events_url":"https://api.github.com/users/Lighiche/events{/privacy}","received_events_url":"https://api.github.com/users/Lighiche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-03T15:19:54Z","updated_at":"2015-06-03T17:44:00Z","closed_at":null,"body":"Using MEAN.js after adding your modules to my bower.json and installing it, I required the file in my config/env/all.js under assets like all other third party modules.\r\n\r\n'public/lib/angular-autoFields-bootstrap/autofields-bootstrap.js'\r\n\r\nI added 'autofields' to my main app.module array. It obviously sees the file with the first line being \r\nangular.module('autofields.bootstrap', ['autofields.standard','ui.bootstrap']) as this is what it errors on. Can you tell me what's going on here by the looks of it those deps are registered to autofields at the bottom of the autofields-boostrap.js file. I have other third party modules installed that are injected no problem.\r\n\r\nUncaught Error: [$injector:modulerr] Failed to instantiate module mainTesting due to:\r\nError: [$injector:modulerr] Failed to instantiate module autofields due to:\r\nError: [$injector:modulerr] Failed to instantiate module autofields.bootstrap due to:\r\nError: [$injector:modulerr] Failed to instantiate module autofields.standard due to:\r\nError: [$injector:nomod] Module 'autofields.standard' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.\r\n\r\n'public/lib/angular-autoFields-bootstrap/autofields.js' \r\n\r\nthe app loads with this an i'm still testing but I am using bootstrap, I was under the impression that I needed to be using the -boostrap version."},"comment":{"url":"https://api.github.com/repos/JustMaier/angular-autoFields-bootstrap/issues/comments/108542968","html_url":"https://github.com/JustMaier/angular-autoFields-bootstrap/issues/40#issuecomment-108542968","issue_url":"https://api.github.com/repos/JustMaier/angular-autoFields-bootstrap/issues/40","id":108542968,"user":{"login":"JustMaier","id":607609,"avatar_url":"https://avatars.githubusercontent.com/u/607609?v=3","gravatar_id":"","url":"https://api.github.com/users/JustMaier","html_url":"https://github.com/JustMaier","followers_url":"https://api.github.com/users/JustMaier/followers","following_url":"https://api.github.com/users/JustMaier/following{/other_user}","gists_url":"https://api.github.com/users/JustMaier/gists{/gist_id}","starred_url":"https://api.github.com/users/JustMaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustMaier/subscriptions","organizations_url":"https://api.github.com/users/JustMaier/orgs","repos_url":"https://api.github.com/users/JustMaier/repos","events_url":"https://api.github.com/users/JustMaier/events{/privacy}","received_events_url":"https://api.github.com/users/JustMaier/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T17:44:00Z","updated_at":"2015-06-03T17:44:00Z","body":"If you want to use bootstrap styling you need to use both. From the error, it looks like `autofields.js` wasn't included."}}