initial kinda broken angularjs stuff