adding js platform : ui router