Questions tagged [angular-meteor]

Framework to Build Realtime Web and Mobile Apps

A framework to Build Realtime Web and Mobile Apps With AngularJS and Meteor.

495 questions
14
votes
2 answers

how to prevent error: [ng:btstrpd] App Already Bootstrapped with this Element 'document'

using angular-meteor v 0.9 trying to get a pre-packaged AngularMeteor-SmartAdmin example app to load properly Getting error: Error: [ng:btstrpd] App Already Bootstrapped with this Element 'document' Is there a way to figure out why and where this…
Eugene Goldberg
  • 11,384
  • 15
  • 81
  • 138
12
votes
2 answers

ES6 angular-meteor ng-table getData function not called

I'm trying to refactor my code to ES6. I'm using angular-meteor and ng-table. Before refactoring, the data is shown on the table. However, after refactoring to ES6 syntax, the data doesn't show anymore. This is a snippet of the refactored…
dork
  • 3,438
  • 2
  • 20
  • 46
12
votes
8 answers

Meteor+AngularJs example

I am new to Meteor and AngularJs. I am trying to follow the example app on https://github.com/lvbreda/Meteor_angularjs but I have not been able to get it working so far. I am getting an error 'app is not defined' in this piece of…
John Bliss
  • 409
  • 2
  • 5
  • 12
10
votes
5 answers

Query from minimongo of large number of records stucks and hangs browser

I am building a page for admin in angular-meteor. I have published all the records from a collection: "posts" and have taken the subscription of all the records on front end. $meteor.subscribe('posts'); In the controller, if I select the cursors of…
StormTrooper
  • 1,741
  • 4
  • 19
  • 26
8
votes
1 answer

Difference between $reactive(this).attach($scope) and $scope.viewModel(this)

In Angular "Todo App" tutorial on official meteor.com website in constructor there's: $scope.viewModel(this); In "Socially" tutorial on angular-meteor.com it looks like the very same thing is achieved by: $reactive(this).attach($scope) What's the…
srokatonie
  • 859
  • 1
  • 8
  • 18
7
votes
2 answers

angular-meteor find MongoDb collection and return based on params

I am trying to get warnings for a certain address in my MongoDb, using a combination of Meteor and Angular.js In my html file, I'm doing
{{myCtrl.warnings}} {{myCtrl.getWarnings("123 Test Street,…
Matt Westlake
  • 3,079
  • 5
  • 32
  • 74
6
votes
3 answers

Meteor - Using FS returns TypeError: Cannot read property 'Collection' of undefined

I am using Meteor 1.6 and AngularJS (Angular 1) and am having issues in my /server/main.js file. I am trying to do an import like this: import { FS } from 'meteor/cfs:filesystem'; So Meteor is able to resolve it just fine, but the problem is, it is…
6
votes
2 answers

Why does ngif not remove script tags from my code?

I have a few script tags I want removed on a condition. In the DOM I see that they are not there (they're commented out), but i still see console spew from them. Are the script tags loaded regardless? If so, does anyone have any workaround for…
healthycola
  • 347
  • 4
  • 9
6
votes
4 answers

Template conflict Angular Meteor 1.2

I just upgraded to angular-meteor 1.2. I also upgraded the angular package. App won't start. I am getting the following error message: **error: conflict: two packages included in the app (angular-templates and templating) are both trying to handle…
SudiB
  • 213
  • 2
  • 13
5
votes
2 answers

Animating new data as it arrives in Meteor

I'm new to meteor and minimongo so i'm a bit lost as to what to do , i've done research but couldn't find much since i'm using angular+meteor and not blaze. I have a collection on my server that is subscribed on my client ( angular). Every time a…
user697
  • 233
  • 1
  • 7
5
votes
1 answer

ng-if being called more times than it should

I'm trying to filter some channels depending on the selected category. I have an ng-repeat of channel in channels which has an ng-if="hasCategory(channel.category) Here's the document: db.channels.find().pretty() { "_id" : "2kj9GK8jE9yHezoWb", …
Johhan Santana
  • 1,876
  • 3
  • 27
  • 53
5
votes
0 answers
5
votes
1 answer

How to make atom-typescript recognize modules without relative path?

I'm following angular-meteor tutorial using angular2 and typescript. Since I'm using atom, I added atom-typescript package and a tsconfig file to take advantage of type declaration files. I'm trying to make atom-typescript recognize the import on…
Florian F.
  • 4,692
  • 23
  • 50
5
votes
1 answer

Angular-Meteor - How can I include ng template in package-based design?

I have an Angular-Meteor application working. I would like to package Angular templates and associated controller into a Meteor package, and inject these templates into my main application by adding that package. What is best approach? Update…
davedonohue
  • 212
  • 5
  • 14
5
votes
3 answers

Angularjs and Meteor "Session" reactivity, is there a way?

I'm trying to work with Meteor and Angularjs. I'm using Meteor_angularjs package, which works OK with Collections. Now I'm trying to use Session and my reactive data store: TestCtrl = [ "$scope", function($scope){ $scope.value =…
Alex Okrushko
  • 5,730
  • 5
  • 38
  • 57
1
2 3
32 33