First working angular data in slim view; js structure