Got profile controller working in angular. Will post an issue on github how it was done