Create Controller in main.js and assign message in data

Add controller in application and link script for controller