I recently started following the Angular-Meteor framework tutorial () but I encountered an error towards the end that I'm struggling to resolve. Despite my efforts in looking for a solution, my limited understanding of the framework seems to be hindering me. While compiling the application, Meteor is showing an Expected IDENTIFIER error (commented line) in the code snippet below:
<template name="parties-list">
<form>
<label>Name</label>
<input ng-model="newParty.name">
<label>Description</label>
<input ng-model="newParty.description">
<label>Public</label>
<input type="checkbox" ng-model="newParty.public">
<button ng-click="newParty.owner=$root.currentUser._id;parties.push(newParty); newParty='';">Add</button>
</form>
... And the rest of the code goes here
Upon checking the compiler output, the errors found are described as follows:
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While building the application:
client/parties/views/parties-list.ng.html:32: Expected IDENTIFIER
... Yes - {{ (party.rsvps | filte...
^
client/parties/views/party-details.ng.html:2: bad formatting in HTML
template
It appears that there may be a missing library involved. Additionally, upon removing the "template" html tag, it results in a bad formatting html error. List of packages being used:
meteor-platform
urigo:angular
angularui:angular-ui-router
accounts-ui
accounts-password
accounts-facebook
accounts-twitter
urigo:angular-utils-pagination
tmeasday:publish-counts
email
If anyone has any insights or solutions, they would be greatly appreciated. Thank you, R.