Moved task4 code to use the angular-seed structure.