Adding ng CSRF gem and new task creation process in angular