From 8f8c0c8e61b4fb343970cd358a12bce9312fd2f6 Mon Sep 17 00:00:00 2001 From: Adam Schwartz Date: Fri, 27 Jun 2014 21:43:54 -0400 Subject: [PATCH] A couple fixes to the "Post process function" section of the docs. --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 028b1f057..24bd6581c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -474,9 +474,9 @@ before it's rendered, and should return a form. Ex. Reverse all forms ```javascript -angular.module('myModule').config(function(schemaFormProvider){ +angular.module('myModule', ['schemaForm']).config(function(schemaFormProvider){ - schemaForm.postProcess(function(form){ + schemaFormProvider.postProcess(function(form){ form.reverse(); return form; })