Renamed $flash to flash

- This matter is due to angular practices / convention. Angular recommends to stay away from using reserved namespace prefixes ('$').