I have this in one of my controllers (notice the id):
Post.get
id: "2"
# Success
, (response) ->
$scope.post = response
# Error
, (response) ->
But what I'd like to do is some how dynamically get a specific post i.e. {{getPost("2")}}
Sorry if what I'm asking is pretty obvious but I'm a beginner and have been stuck on this for hours. Could someone please shed some light?