Put navbar under directive.
Corrected typo
Removed uncorrect service method and created one more generic.
Added style to pre code blocks. A scrolls appears when the block is higher than 300px.