programming controllers js preparing for writing controllersSpec tests