complete de middleware anc the context_processor

auto configuration aungularJS app parameter