OMGPOP

Singapore

Gamer & Game Developer

6h
awarded Popular Question
Feb
24
comment parse JSON from the mongoose entity
It works. I think the problem is toObject() instead of toJSON() for mongoose model
Feb
24
accepted parse JSON from the mongoose entity
Feb
22
comment parse JSON from the mongoose entity
when i remove it, i get expression expected: unresolved variable tor type projectTemplates
Feb
21
comment parse JSON from the mongoose entity
still not working. do i need to do projectTemplates._doc.map(function(template) {})
Feb
19
comment parse JSON from the mongoose entity
still the same result as the one without mapping each element of the array
Feb
18
comment Convert Mongoose docs to json
@eAbi it is not there. the asker also has the same problem. Are you sure you are calling toJSON instead of JSON.stringify()?
Feb
18
asked parse JSON from the mongoose entity
Feb
17
comment Convert Mongoose docs to json
@eAbi both toJSON and toObject are not defined
Feb
17
comment Convert Mongoose docs to json
toJSON() not defined
Feb
13
accepted angularJS load non-angular javascript file within ng-view
Feb
10
comment angularJS load non-angular javascript file within ng-view
why do you have templateUrl? I already have a router to replace the subpage to the ng-view. Or should i remove the ng-view?
Feb
10
comment angularJS load non-angular javascript file within ng-view
is the <render-canvas> in mainpage or subpage
Feb
10
comment angularJS load non-angular javascript file within ng-view
it is working on plunker, but not on my machine
Feb
10
revised angularJS load non-angular javascript file within ng-view
added 300 characters in body
Feb
10
comment angularJS load non-angular javascript file within ng-view
This is weird. I tried the same thing on my machine and it's not working.
Feb
9
asked angularJS load non-angular javascript file within ng-view
Feb
4
accepted javascript add dom element to an array error
Feb
4
comment javascript add dom element to an array error
@Johan newState
Feb
4
asked javascript add dom element to an array error
1 2 3 4 5