If you copy the behavior_pack_sample folder into the development_behavior_packs folder and try to create the world, you will get a warning about missing dependencies, and creating the world will fail.
Simply removing the "dependencies" key from the manifest.json file in behavior_pack_sample allows it to work again, and a quick test verifies that an angry cow can then be summoned and it will attack the player as expected.