Migrate to angularjs style formatter