angular works(not the prettiest way but works! :D)