|
|
|
|
|
by binofbread
4598 days ago
|
|
I'm running into a similar issue and fairly new to angular. In fact, the tutorial I followed even set up the server calls to use the _id field when looking at a specific model (ie leagues/{{ league._id }} ). What's the proper way to go about fixing this? |
|
MyObject.prototype.id = function(){return this._id;};
Which gives you: leagues/{{ league.id() }}