Added rootscope to ngController-fig.