Used directives to mimic multiple pages and multiple controllers