Move js to angular

Create graph controller.