Urigo / meteor-ionic

Ionic framework packaged for Meteor.
216 stars 32 forks source link

Uncaught TypeError: Cannot read property '$$minErr' of undefinedangular-sanitize.js:8 (anonymous function)angular-sanitize.js:680 #35

Closed brugnara closed 9 years ago

brugnara commented 9 years ago

In a meteor project without angular, I'm getting this error in browser console.

Thanks for your work.

fix commented 9 years ago

same here

ndevr commented 9 years ago

add urigo:angular

ndevr commented 9 years ago

if you are using angular-ui-router add the package mquandalle:bower too. With bower add "angular-ui-router": "~0.2.13" and it should be work. Please note that the bower package has some issues with loading order - loading ionic with bower is impossible because of that issue.

brugnara commented 9 years ago

But the documentation says I can use this without angular.

ndevr commented 9 years ago

there's a weak dependency... don't know how it works, but without adding angular it's not working for me

ndevr commented 9 years ago

Looks like it would be easier to add just the http://code.ionicframework.com/1.0.0-beta.14/js/ionic.bundle.js + http://code.ionicframework.com/1.0.0-beta.14/css/ionic.css :+1:

ndevr commented 9 years ago

Be sure angular is loaded at first.

.meteor/packages

urigo:angular urigo:ionic urigo:angular-google-maps

ndevr commented 9 years ago

37 could be interesting for you as well

Urigo commented 9 years ago

You don't have to use angular-meteor, but you do have to use AngularJS, Ionic is dependent on that. You can bring it in anyway you want. I've just released a new version and also updated the readme to explain that here - https://github.com/Urigo/meteor-ionic/commit/7dccd08c3d0e0fb6593cb174cb5d59ea3e05c1aa