added redirect from ruby posts controller to angular path