angularjs scaffolding - almost there