Angular floating box directive