Corrected a bug in page name hash param.
Working on directive scope handling.