got angularjs to work, dont know why