add angular-cookies used put csrf token in angular rest posts
allow api urls without slash at the end
implements to answer a forum question with angular