Fixed an error in the spec for directive
scope was assigned instead of outerScope