javascript - I am having trouble linking two pages in Ionic Framework -
i following tutorial on pluralsight build web app , getting error connecting team.html
, team-detail.html
. "ui-sref = "app.game({id: game.gameid}"
on line 4 of team-detail.html
do? correct? error says:
typeerror: cannot read property 'name' of undefined @ new teamdetailctrl (team-detail-ctrl.js:18) @ object.invoke (ionic.bundle.js:11994) @ extend.instance (ionic.bundle.js:16247) @ ionic.bundle.js:15502 @ foreach (ionic.bundle.js:8155) @ nodelinkfn (ionic.bundle.js:15501) @ compositelinkfn (ionic.bundle.js:14887) @ publiclinkfn (ionic.bundle.js:14766) @ self.appendviewelement (ionic.bundle.js:47324) @ object.switcher.render (ionic.bundle.js:45864)ionic.bundle.js:19387 (anonymous function)
here's link code have halfway through tutorial: https://github.com/bhaskar2khaneja/elitescheduleapp/tree/master/www
also, not understand <.. href = "#/app/teams/{{team.id}}">
doing in standings.html
file. it's not producing output expecting on clicking different items in file.
here's data app using: http://elite-schedule.net/api/leaguedata/2009
Comments
Post a Comment