Assume that we already have the hidden field - that way we can integrate with angular