add posts ctrl
add $api service