Tearing out angularjs, making templates.