Fixed the parsing of the attrs in ticker directive, enhanced ui