added flash directive and ngEnter directive